package com.tem.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tem.common.tool.result.ResultUtil;
import com.tem.system.entity.SysPermissionEntity;
import com.tem.system.vo.SysPermissionRequest;

import java.util.List;
import java.util.Map;

/**
 * @author 腾木科技 Created by 2022/2/17 15:50
 */
public interface SysPermissionService extends IService<SysPermissionEntity> {

    ResultUtil<List<SysPermissionEntity>> listMenu(SysPermissionRequest request);

    ResultUtil<Map<String,Object>> listOperatorMenu(String userId);

    ResultUtil<SysPermissionEntity> saveMenu(SysPermissionEntity sysPermissionEntity);

    Integer maxSort();

    ResultUtil<?> deleteBath(List<String> ids);
}
